stomp_msg_callback = function(msg) {
    refresh_table('peers-table', msg.peers);    
    $('#rpc-port').each(function() { if($(this).text() != msg.rpc_port) $(this).text(msg.rpc_port); });    
    el  = $('#num-peers'); if(el.text() != '' +msg.num_peers) el.text(''+msg.num_peers)   
    if(msg.sql_results != undefined)
          create_table('sql-results', msg.sql_results)
}